package com.zy.data_type;

import org.testng.annotations.Test;

public class Example {

    @Test
    public  void test1(){
        System.out.println((1.01 + 2.02)  );
        System.out.println((1.01 + 2.02) == 3.03 );
        System.out.println(new Float(1.01 + 2.02).equals(3.03) );
        System.out.println(new Float(1.01 + 2.02) == (3.03) );
        System.out.println(new Float(1.01 + 2.02) == new Float(3.03) );
    }
}
